| ColorManagement Xojo Plugin |
|
ICCColorProfile.ErrorValues Enum
Enum that defines constants that specify last error that occurred in the plugin.
enum ICCColorProfile.ErrorValues
Constants
NO_ERROR = 0 | No error. |
PROFILE_NOT_RGB_CYMK_OR_GRAY = -1 | Profile is not Gray, RGB or CMYK based. |
PARMETER_VALUE_INVALID = -2 | One or more parameters are invalid. (Could be nil parameter for example) |
BITMAP_HAS_NO_COLOR_PROFILE = -3 | Bitmap has no color profile. You cannot convert a RawBitmap that has no color profile. |
COLOR_PROFILES_NOT_COMPATIBLE_FOR_IN_PLACE_CONVERT = -4 | Color profile is not compatible for in Place convert. For in place convert then the structure needs to be same. For example you can convert from one RGB Color Profile to another RGB Color profile in place since both would have same byte structure. While you cannot convert from RGB Color profile to Gray in place as they would not have same byte structure. You can however convert such without doing it in place. |
PARAMETER_INCORRECT_COLOR_SPACE = | Color space of a color profile passed into one of the parameters was of incorrect type |